Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Revisit: Some results & questions for ".js" files cause Web Syntax Error
~Justin Minluternivu 4.Nov.03 04:31 PM a Web browser
Domino Designer 6.0.2 CF2 Windows 2000


Well, with stuff on a subform, the browser doesn't have to request anything separately since the script is already on the web page. As for the "home page" -- if you mean the thing you have set to open with the database URL (via the database launch properties), then you're running into a base URL problem again. Let's say you have a database at the Domino data root. When you open that database, you're using a URL that looks like:

http://www.mycompany.com/database.nsf

If there are any relative URLs on the home page, they'll be looking for your JavaScript file at:

http://www.mycompany.com/myscript.js

The simple cure for homepagitis is to redirect your users to:

http://www.mycompany.com/database.nsf/

It's the trailing slash that makes the difference. Why are your images showing up? I'd guess that you created them either by using "Create>Image Resource" or pasted them in. In either case, Domino handles the relative URLs for you automagically.




".js" files cause Web Syntax Error (~Fred Xanjumima... 21.Oct.03)
. . RE: ".js" files cause Web Syntax Er... (~Justin Minlute... 21.Oct.03)
. . . . RE: ".js" files cause Web Syntax Er... (~Fred Xanjumima... 21.Oct.03)
. . . . . . RE: ".js" files cause Web Syntax Er... (~Justin Minlute... 21.Oct.03)
. . . . . . . . Some results & questions for ".js" ... (~Fred Xanjumima... 22.Oct.03)
. . . . . . . . . . Revisit: Some results & questions f... (~Fred Xanjumima... 4.Nov.03)
. . . . . . . . . . . . RE: Revisit: Some results & questio... (~Justin Minlute... 4.Nov.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS